package com.asktgapp.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

import com.hyphenate.chat.EMChatService;

/**
 * time:2018/4/14
 * Create By ZhaoKai
 * Email: dczk@foxmail.com
 * Description:
 */

public class MyBroacastReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Log.i("jg", "收到分钟广播");
        context.startService(new Intent(context, EMChatService.class));
    }
}
